export const pointRow1Col2 = {
  code: 'PointRow1Col2',
  type: 'point',
  tabName: '参数点',
  label: '一行两列',
  icon: 'iconshujujieruKafkajiqun',
  options: {
    // 配置
    setup: [
      {
        type: 'el-input-text',
        label: '图层名称',
        name: 'layerName',
        required: false,
        placeholder: '',
        value: '一行两列参数点',
      },
      {
        type: 'el-input-text',
        label: '参数单位',
        name: 'pointUnit',
        required: false,
        placeholder: '',
        value: '请输入单位',
      },
      {
        type: 'el-input-number',
        label: '字体字号',
        name: 'fontSize',
        required: false,
        placeholder: '',
        value: '14',
      },
      {
        type: 'vue-color',
        label: '字体颜色',
        name: 'color',
        required: false,
        placeholder: '',
        value: '#FAD400',
      },
      {
        type: 'vue-color',
        label: '背景颜色',
        name: 'background',
        required: false,
        placeholder: '',
        value: 'rgba(115,170,229,.5)',
      },
      {
        type: 'el-switch',
        label: '显示边框',
        name: 'showBorder',
        required: false,
        value: true,
      },
      {
        type: 'vue-color',
        label: '边框颜色',
        name: 'borderColor',
        required: false,
        relactiveDom: 'showBorder',
        relactiveDomValue: true,
        value: '#000000',
      },
      {
        type: 'el-select',
        label: '对齐方式',
        name: 'textAlign',
        required: false,
        placeholder: '',
        selectOptions: [
          { code: 'center', name: '居中' },
          { code: 'left', name: '左对齐' },
          { code: 'right', name: '右对齐' },
        ],
        value: 'center'
      },
    ],
    // 数据
    data: [
      {
        type: 'el-radio-group',
        label: '数据类型',
        name: 'dataType',
        require: false,
        placeholder: '',
        selectValue: true,
        selectOptions: [
          // {
          //   code: 'staticData',
          //   name: '静态数据',
          // },
          {
            code: 'dynamicData',
            name: '动态数据',
          },
        ],
        value: 'dynamicData',
      },
      {
        type: 'el-input-number',
        label: '刷新时间(毫秒)',
        name: 'refreshTime',
        relactiveDom: 'dataType',
        relactiveDomValue: 'dynamicData',
        value: 2000,
      },
      {
        type: 'el-input-text',
        label: '编辑数据',
        name: 'pointValue',
        required: false,
        placeholder: '',
        relactiveDom: 'dataType',
        relactiveDomValue: 'pointValue',
        value: 0,
      },
      {
        type: 'stationPointComponents',
        label: '站点参数',
        name: 'stationPoint',
        required: false,
        relactiveDom: 'dataType',
        relactiveDomValue: 'dynamicData',
        value: null,
      },
      [
        {
          relactiveDom: 'dataType',
          relactiveDomValue: 'dynamicData',
          name: '参数规则',
          list: [
            {
              type: 'pointRuleAI',
              label: '',
              name: 'pointRuleAI',
              required: false,
              value: [],
            }
          ]
        }
      ]
    ],
    // 坐标
    position: [
      {
        type: 'el-input-number',
        label: '左边距',
        name: 'left',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '上边距',
        name: 'top',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '宽度',
        name: 'width',
        required: false,
        placeholder: '该容器的宽度',
        value: 160,
      },
      {
        type: 'el-input-number',
        label: '高度',
        name: 'height',
        required: false,
        placeholder: '该容器的高度',
        value: 30,
      },
    ],
  }
}
